﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Globalization;
using System.Linq;
using System.Resources;
using System.Threading;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;

namespace EC2011_hk1_BT7_1041326_1041337_1041373_1041448.Presentation
{
    public partial class Home : System.Web.UI.Page
    {
        ResourceManager rm;
        protected void Page_Load(object sender, EventArgs e)
        {
            CultureInfo ci;
            if (Session["Location"] == null)
            {
                Session["Location"] = "vi-VN";
            }
            Thread.CurrentThread.CurrentCulture = new CultureInfo(Session["Location"].ToString());
            rm = new ResourceManager("Resources.SitMap", System.Reflection.Assembly.Load("App_GlobalResources"));
            ci = Thread.CurrentThread.CurrentCulture;
            LoadString(ci);
            Session["Lang"] = Session["Location"].ToString().Substring(0, 2);
        }

        public void LoadString(CultureInfo ci)
        {

        }
    }
}
